﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Manon.ConfigCenter.Web.Models
{
    public class Menu
    {
        public string id { set; get; }
        public string parentId { set; get; }
        public string name { set; get; }
        public string label
        {
            get
            {
                return this.name;
            }
            set { }
        }
        public string title { set; get; }
        public string icon { set; get; }
        public string path { get; set; }

        /// <summary>
        /// 菜单类型 1模块 2页面 3按钮
        /// </summary>
        public int menutype { get; set; }

        public List<Menu> children { get; set; }
    }
}
